// vcstring.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"
#include "iostream"
#include "string"

using namespace::std;


int _tmain(int argc, _TCHAR* argv[])
{
	// yoyoyo
	int test1 = 0;
	for(int i = 0;i < 10;i++)
		test1+=i;

	char s[] = "hello world";
	cout<< s <<endl;
	
	string str = "hello my wife";
	
	cout<< str <<endl;
	cin >> str ;
	cout<< str.size() <<endl;
	str[2] = 'x';
	cout<<str<<endl;

	str = str + "oh my god";
	cout<<str<<endl;

	system("pause");
	return 0;
}

